package com.fz.study.project.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fz.study.project.entity.Course;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fz.study.project.entity.qurey.CourseQuery;

import java.util.List;

/**
 * <p>
 * 课程信息 服务类
 * </p>
 *
 * @author author
 * @since 2024-02-17
 */
public interface ICourseService extends IService<Course> {

    void saveByName(Course course);

    void removeWithIds(List<Integer> ids);

    void updateWithId(Course course);

    Page<Course> findByPage(CourseQuery query);
}
